import * as THREE from 'three';
import { OrbitControls } from 'three/examples/jsm/Addons.js';

import { createRenderer } from 'vue';
import { extend } from './catalogue';
import { nodeOps } from './nodeOpts';

export const { render } = createRenderer( nodeOps );


// Creates the catalogue of components based on THREE namespace
extend( THREE );
extend( { OrbitControls } );

export default { extend };
